package com.crb.smartcard.cardutils.entity;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

public class TradeInfo implements Serializable {
    /**
     * 交易序列号
     */
    private String tradeNo;
    /**
     * 交易金额（以分为单位）
     */
    private int tradeMoney;
    /**
     * 交易日期
     */
    private String tradeDate;
    /**
     * 交易时间
     */
    private String tradeTime;
    /**
     * 交易类型（0为消费，1为充值）
     */
    private String tradeType;
    /**
     * 交易记录
     */
    private String tradeRecord;
    private String posId;

    public TradeInfo() {
    }


    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public int getTradeMoney() {
        return tradeMoney;
    }

    public void setTradeMoney(int tradeMoney) {
        this.tradeMoney = tradeMoney;
    }

    public String getTradeDate() {
        return tradeDate;
    }

    public void setTradeDate(String tradeDate) {
        this.tradeDate = tradeDate;
    }

    public String getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(String tradeTime) {
        this.tradeTime = tradeTime;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getTradeRecord() {
        return tradeRecord;
    }

    public void setTradeRecord(String tradeRecord) {
        this.tradeRecord = tradeRecord;
    }

    public String getPosId() {
        return posId;
    }

    public void setPosId(String posId) {
        this.posId = posId;
    }

    @Override
    public String toString() {
        return "TradeInfo{" +
                "tradeNo='" + tradeNo + '\'' +
                ", tradeMoney=" + tradeMoney +
                ", tradeDate='" + tradeDate + '\'' +
                ", tradeTime='" + tradeTime + '\'' +
                ", tradeType='" + tradeType + '\'' +
                ", tradeRecord='" + tradeRecord + '\'' +
                ", posId='" + posId + '\'' +
                '}';
    }
}
